package com.chinasoft.mall.framework;

import java.util.ArrayList;
import java.util.HashMap;

import android.annotation.SuppressLint;

import com.chinasoft.mall.model.BaseBean;
import com.chinasoft.mall.model.response.RechnBean;

public class BeanCache
{

	private static BeanCache self = new BeanCache();
	
	private static ArrayList<RechnBean> bottomCache= new ArrayList<RechnBean>();
	

	/**
	 * 返回数据缓存
	 */
	@SuppressLint("UseSparseArrays")
	private static HashMap<String, BaseBean> responsdata = new HashMap<String, BaseBean>();

	public HashMap<String, BaseBean> getResponsdata()
	{
		return responsdata;
	}

	public void setResponsdata(HashMap<String, BaseBean> responsdata)
	{
		this.responsdata = responsdata;
	}

	public static BeanCache getInstance()
	{
		return self;
	}

	public static ArrayList<RechnBean> getBottomCache()
	{
		return bottomCache;
	}

	public static void setBottomCache(ArrayList<RechnBean> bottomCache)
	{
		BeanCache.bottomCache = bottomCache;
	}
}
